package com.jyy.jyyplayer;

import android.view.Surface;

public class JYYPlayer {

    static {
        System.loadLibrary("jyyplayer");
    }

    private Surface surface;

    public void setSurfaceView(Surface surface) {
        this.surface = surface;
    }

    public native String test();

    public void start() {
        native_start(this.surface);
    }

    private native void native_start(Surface surface);
}
